<?php
//Compiled by TIBlog Template Engine v2.0 , Created on : 2011-05-04 22:00:36
defined('IN_DTE') or exit('Access Denied');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE>电影评论网</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta name="keywords" content="电影、最新电影、经典电影、电影搜索、电影评论、电影排行榜,电影网站."/>
<meta name="description" content="电影提供最新的电影介绍和电影评论,通过电影搜索,记录你想看和看过的电影,顺便打分、加标签、写影评。推荐好电影给你。" />
<LINK rel=stylesheet type=text/css href="/static/css/global.css">
<LINK rel=stylesheet type=text/css href="/static/css/packed_douban53.css">
<LINK rel=stylesheet type=text/css href="/static/css/packed__all12.css">
<LINK rel=stylesheet type=text/css href="/static/css/main.css">
<link rel="stylesheet" type=text/css href="/static/css/re.css"  />
<link href="/static/css/jquery.ui.all/jquery.ui.all.css" rel="stylesheet" type="text/css"/>

<script type="text/javascript" src="/static/js/jquery.min4.js"></script>
<script type="text/javascript" src="/static/js/rating.js"></script>
<script type="text/javascript" src="/static/js/dialog.js"></script>
<script type="text/javascript" src="/static/js/re.js"></script>
<script src="/static/js/jquery-ui.min.js"></script>
</head>
<body>
<div id=header>
	<div class="topbar">
		<div class="l"></div>
		<div class="r"><?php
echo $_obj['logintip'];
?>
</div>		
	</div>
	<div class=topper>
		<div class=logo>
			<p><a href="/">电影评论网</a><span>beta</span></p>
			</br>
			<p>movie.com</p>
			<p>最新、最热、最实时的电影信息和评论</p> 
		</div>
		<div class=nav>
			<ul>
				<li><a href="/movie/coming">即将上映</a>  |</li>
				<li><a href="/movie/hot">最热</a>  |</li>
				<li><a href="/movie/popular">最多喜欢</a>  </li>
				<!--  <li><a href="/<?php
echo $_obj['myspace'];
?>
">我的空间</a></li>    先隐藏不用-->
			</ul> 
		</div>
	</div>
	<div class=searchbar>
		<form method="get" action="/search/">
			<input type="text" class="ipt" name="keywords" value="电影名称、导演或演员" onblur="if(this.value=='') this.value='电影名称、导演或演员';" 
		onfocus="if(this.value=='电影名称、导演或演员') this.value='';" /><input type="submit" class="sbtn" value="" />
		</form>
	</div>
</div>
<div id="content" >
<script type="text/javascript">

$(document).ready(function() {
	$("#menu1 .clearfix").addClass("on");
	$("#content_menu1").show();
	fristmid = parseInt($("#menu1_val")[0].value);
	var timerid = setInterval("startRequest('"+ fristmid + "')",3000);
	var hl = $("#hot_movies_menu li"),content = $(".hotmovie_box .content");
	hl.mouseover(function(){
		$(".menu li .clearfix").removeClass("on");
		$("#"+this.id+" .clearfix").addClass("on");
		content.hide();
		$("#content_"+this.id).show();
		clearInterval(timerid);
		timerid = 0;
		$("#commentpage").val('1');
		mid = parseInt($("#" + this.id + '_val')[0].value);
		timerid = setInterval("startRequest('" + mid + "')",3000);
		$("#timerid").val(timerid);
		return false;
	});
	$(hl[0]).addClass("on");
});

function startRequest(mid){		
	var i = parseInt($("#commentpage")[0].value);
	if(i != '0'){
		$("#hotcomments_" + mid).fadeOut('slow', function(){
			comment = $.ajax({url:"/movie/ajax/getcomment/" + mid + "/" + i,async:false});
			result = comment.responseText;
			if (result == 'empty'){
				$("#hotcomments_" + mid).html('没有最新短评。');
				$("#commentpage").val('0');
			}else{
				$("#hotcomments_" + mid).html(result);
			}
		});
		$("#hotcomments_" + mid).fadeIn("slow");
		i = i + 1;
		$("#commentpage").val(i);
	}else{
		var timerid = parseInt($("#timerid")[0].value);
		clearInterval(timerid);
	}
}
</script>

<div class="grid-16-8 clearfix">
   <div class="article">
    <h2 class="mb5">热映中……</h2>
    <div class="hotmovie_box clearfix">
        <div class="left_conner"><em></em><b></b></div>
			<input type="hidden" id="commentpage" value="1"/>
			<input type="hidden" id="timerid" value=""/>
			<?php
if (!empty($_obj['hotmovies'])){
if (!is_array($_obj['hotmovies']))
$_obj['hotmovies']=array(array('hotmovies'=>$_obj['hotmovies']));
$_tmp_arr_keys=array_keys($_obj['hotmovies']);
if ($_tmp_arr_keys[0]!='0')
$_obj['hotmovies']=array(0=>$_obj['hotmovies']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['hotmovies'] as $rowcnt=>$hotmovies) {
$hotmovies['ROWCNT']=$rowcnt;
$hotmovies['ALTROW']=$rowcnt%2;
$hotmovies['ROWBIT']=$rowcnt%2;
$_obj=&$hotmovies;
?>
            <div class="content clearfix" id="content_menu<?php
echo $_obj['k'];
?>
">                
                <div class="headerline_img"><a href="/movie/<?php
echo $_obj['id'];
?>
/"><img src="/static/upload/thumb<?php
echo $_obj['thumb'];
?>
" /></a></div>
                <div class="headerline_content">
                    <div class="title clearfix"><a href="/movie/<?php
echo $_obj['id'];
?>
/"><?php
echo $_obj['title'];
?>
</a><span class="bigstar<?php
echo $_obj['rating_img'];
?>
"></span><span class="grade"><?php
echo $_obj['rating'];
?>
</span></div> 
                     <?php
echo $_obj['subdesc'];
?>
<br>
                     <span><?php
echo $_obj['collect'];
?>
人 看过 /  <?php
echo $_obj['wish'];
?>
 人想看</span>
                </div>				
                <div class="comments">
					<span class="ll b">微博...</span><span style="float:right"><a href="/movie/<?php
echo $_obj['id'];
?>
/comments" target="_blank">更多 &raquo;</a></span>
					<div class="clear"></div>
					<input type="hidden" id="menu<?php
echo $_obj['k'];
?>
_val" value="<?php
echo $_obj['id'];
?>
" />
					<div id="hotcomments_<?php
echo $_obj['id'];
?>
">	
						<?php
if (!empty($_obj['comment'])){
?>
						<div class="avatars"><a href="/people/<?php
echo $_obj['comment']['uid'];
?>
/"><img src="<?php
echo $_obj['comment']['profile_image_url'];
?>
"/></a></div>
						<div class="contents"><a href="/people/<?php
echo $_obj['comment']['uid'];
?>
/"><?php
echo $_obj['comment']['username'];
?>
</a>：<?php
echo $_obj['comment']['contents'];
?>
</div>
						<?php
} else {
?>
						没有最新短评。
						<?php
}
?>
					</div>
                </div>
            </div>
			<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
			<ul class="menu" id="hot_movies_menu">			
			<?php
if (!empty($_obj['hotmovies'])){
if (!is_array($_obj['hotmovies']))
$_obj['hotmovies']=array(array('hotmovies'=>$_obj['hotmovies']));
$_tmp_arr_keys=array_keys($_obj['hotmovies']);
if ($_tmp_arr_keys[0]!='0')
$_obj['hotmovies']=array(0=>$_obj['hotmovies']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['hotmovies'] as $rowcnt=>$hotmovies) {
$hotmovies['ROWCNT']=$rowcnt;
$hotmovies['ALTROW']=$rowcnt%2;
$hotmovies['ROWBIT']=$rowcnt%2;
$_obj=&$hotmovies;
?>
				<li  class="<?php
echo $_obj['styles'];
?>
" id="menu<?php
echo $_obj['k'];
?>
">
					<div class="clearfix">
					<em></em>
						<div class="arrow"></div>
						<div class="img"><a href="/movie/<?php
echo $_obj['id'];
?>
/"><img src="/static/upload/thumb/s<?php
echo $_obj['thumb'];
?>
" height="48px"></a></div>
						<div class="intro"><a href="/movie/<?php
echo $_obj['id'];
?>
/" class="title"><?php
echo $_obj['title'];
?>
</a><span class="allstar<?php
echo $_obj['rating_img'];
?>
" class="ll"></span><?php
echo $_obj['rating'];
?>
</div>
					</div>
				</li>
			<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
			</ul>
</div>

<div class="movie_new">
	<h2 class="green_tab clearfix"><div class="ll">上映中……</div></h2>
	<ul class="content clearfix"  id="newcontent1">	
	<?php
if (!empty($_obj['play_movie'])){
if (!is_array($_obj['play_movie']))
$_obj['play_movie']=array(array('play_movie'=>$_obj['play_movie']));
$_tmp_arr_keys=array_keys($_obj['play_movie']);
if ($_tmp_arr_keys[0]!='0')
$_obj['play_movie']=array(0=>$_obj['play_movie']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['play_movie'] as $rowcnt=>$play_movie) {
$play_movie['ROWCNT']=$rowcnt;
$play_movie['ALTROW']=$rowcnt%2;
$play_movie['ROWBIT']=$rowcnt%2;
$_obj=&$play_movie;
?>
		<li class="clearfix">
		<div class="img"><a href="/movie/<?php
echo $_obj['id'];
?>
/"><img src="/static/upload/thumb<?php
echo $_obj['thumb'];
?>
" height="97"/></a></div>
			<div class="intro">
				<h3><span><?php
echo $_obj['k'];
?>
</span><a href="/movie/<?php
echo $_obj['id'];
?>
/"><?php
echo $_obj['title'];
?>
</a></h3>
				<div class="star clearfix"><span class="allstar<?php
echo $_obj['rating_img'];
?>
"></span><?php
echo $_obj['rating'];
?>
</div><?php
echo $_obj['subdesc'];
?>
			
				<span class="pl"></span>
			</div>
		</li>			
	<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
	</ul>         
</div>

<script type="text/javascript">
function cPrevNext(i){
	prev_comments = $.ajax({url:"/movie/ajax/maincomment/" + i,async:false});
	result = prev_comments.responseText;
	if (result == 'empty'){
		alert('没有最新短评了。');
	}else{
		$("#commentsBox").html(result);
	}
}
function rPrevNext(i){
	prev_comments = $.ajax({url:"/movie/ajax/mainreview/" + i,async:false});
	result = prev_comments.responseText;
	if (result == 'empty'){
		alert('没有最新影评了。');
	}else{
		$("#reviewsBox").html(result);
	}
}
$(document).ready(function(){
	$("a.cTab").click(function (){
		$(".cTab").removeClass("active");
		$(this).addClass("active");			
		$(".cBox").hide();
		var content_show = $(this).attr("title");			
		$("#"+content_show).show();
	});
	$("a.rTab").click(function (){
		$(".rTab").removeClass("active");
		$(this).addClass("active");			
		$(".rBox").hide();
		var content_show = $(this).attr("title");			
		$("#"+content_show).show();
	});
});

</script>
<!--短评-->

<div class="tab_area">
	<div class="fleft"><span style="font-size:15px">微博：</span><span class="pl"></span></div>
	<ul class="tabs">
		<li><a href="javascript:void(0)" title="cBox_1" class="tab active cTab" onfocus="this.blur()">最新的</a></li>
		<li><a href="javascript:void(0)" title="cBox_2" class="tab cTab"  onfocus="this.blur()">朋友的</a></li>
	</ul> 		
    <div id="cBox_1" class="content cBox" style="padding-top:10px">
		<div id="commentsBox">
		<?php
if (!empty($_obj['hot_comments'])){
if (!is_array($_obj['hot_comments']))
$_obj['hot_comments']=array(array('hot_comments'=>$_obj['hot_comments']));
$_tmp_arr_keys=array_keys($_obj['hot_comments']);
if ($_tmp_arr_keys[0]!='0')
$_obj['hot_comments']=array(0=>$_obj['hot_comments']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['hot_comments'] as $rowcnt=>$hot_comments) {
$hot_comments['ROWCNT']=$rowcnt;
$hot_comments['ALTROW']=$rowcnt%2;
$hot_comments['ROWBIT']=$rowcnt%2;
$_obj=&$hot_comments;
?>
		<div class='ctsh' style="float:left;margin-bottom:10px;border-bottom:1px #ccc dashed;padding-bottom:10px">
			<div style="float:left;width:55px;"><a href="/people/<?php
echo $_obj['uid'];
?>
/" target="_blank"><img class="pil" src="<?php
echo $_obj['profile_image_url'];
?>
"/></a></div>
			<div style="float:right;;width:535px;">
			<a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp;<span style="color:#999">评论</span>&nbsp;<a href="/movie/<?php
echo $_obj['mid'];
?>
/"><?php
echo $_obj['mtitle'];
?>
</a>：
			<span id="message_<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['contents'];
?>
 </span>
			</div>	
			<div align="right" id="<?php
echo $_obj['weibo_id'];
?>
"><a href="javascript:rt(<?php
echo $_obj['weibo_id'];
?>
,<?php
echo $_obj['mid'];
?>
)" value="" title="转发到新浪微博" >转发(<span id="rt_sum<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['rt'];
?>
</span>)</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a >收藏</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="javascript:Comment(<?php
echo $_obj['weibo_id'];
?>
,<?php
echo $_obj['mid'];
?>
)" value=""  title="评论到新浪微博" >评论(<span id="re_sum<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['comments'];
?>
</span>)</a></div>
		</div>
		<div class="clear"></div>
		<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>	
		<p class="pl" align="right">
		<a href="javascript:;" onclick="cPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="cPrevNext(2);" class="next1">下一页</a></p>
		</div>
	</div>
	 <div id="cBox_2" class="content hide cBox" style="padding-top:10px">
		<?php
if (!empty($_obj['friendComments'])){
?>
			<div id="commentsBox">		
				<?php
if (!empty($_obj['friendComments'])){
if (!is_array($_obj['friendComments']))
$_obj['friendComments']=array(array('friendComments'=>$_obj['friendComments']));
$_tmp_arr_keys=array_keys($_obj['friendComments']);
if ($_tmp_arr_keys[0]!='0')
$_obj['friendComments']=array(0=>$_obj['friendComments']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['friendComments'] as $rowcnt=>$friendComments) {
$friendComments['ROWCNT']=$rowcnt;
$friendComments['ALTROW']=$rowcnt%2;
$friendComments['ROWBIT']=$rowcnt%2;
$_obj=&$friendComments;
?>
				<div class='ctsh' style="float:left;margin-bottom:10px;border-bottom:1px #ccc dashed;padding-bottom:10px">
				<div style="float:left;width:55px;"><a href="/people/<?php
echo $_obj['uid'];
?>
/" target="_blank"><img class="pil" src="<?php
echo $_obj['profile_image_url'];
?>
"/></a></div>
				<div style="float:right;;width:535px;">
				<a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp;<span style="color:#999">评论</span>&nbsp;<a href="/movie/<?php
echo $_obj['mid'];
?>
/"><?php
echo $_obj['mtitle'];
?>
</a>：
				<span id="message_<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['contents'];
?>
 </span>
				</div>	
				<div align="right" id="<?php
echo $_obj['weibo_id'];
?>
"><a href="javascript:rt(<?php
echo $_obj['weibo_id'];
?>
,<?php
echo $_obj['mid'];
?>
)" value="" title="转发到新浪微博" >转发(<span id="rt_sum<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['rt'];
?>
</span>)</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a >收藏</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="javascript:Comment(<?php
echo $_obj['weibo_id'];
?>
,<?php
echo $_obj['mid'];
?>
)" value=""  title="评论到新浪微博" >评论(<span id="re_sum<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['comments'];
?>
</span>)</a></div>
				</div>
				<div class="clear"></div>
				<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
				<p class="pl" align="right">
				<a href="javascript:;" onclick="cPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
				<a href="javascript:;" onclick="cPrevNext(2);" class="next1">下一页</a></p>
			</div>
		<?php
} else {
?>
			您还未登录，登录后才能看到您朋友的短评。
		<?php
}
?>
	</div>
	<div class="clear"></div>
</div>
<!--影评--> 
<div class="tab_area">
		<div class="fleft"><span style="font-size:15px">影评：</span><span class="pl"></span></div>
        <ul class="tabs">
			<li><a href="javascript:void(0)" title="rBox_1" class="tab active rTab" onfocus="this.blur()">热门的</a></li>
			<li><a href="javascript:void(0)" title="rBox_2" class="tab rTab"  onfocus="this.blur()">最新的</a></li>
        </ul> 

	<div id="rBox_1" class="content rBox">
	<div id="reviewsBox">
		<?php
if (!empty($_obj['hot_review'])){
if (!is_array($_obj['hot_review']))
$_obj['hot_review']=array(array('hot_review'=>$_obj['hot_review']));
$_tmp_arr_keys=array_keys($_obj['hot_review']);
if ($_tmp_arr_keys[0]!='0')
$_obj['hot_review']=array(0=>$_obj['hot_review']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['hot_review'] as $rowcnt=>$hot_review) {
$hot_review['ROWCNT']=$rowcnt;
$hot_review['ALTROW']=$rowcnt%2;
$hot_review['ROWBIT']=$rowcnt%2;
$_obj=&$hot_review;
?>
		<div class='ctsh'>
		<ul class="tlst clearfix" style="clear:both">
			<li class="nlst"><h3><a href="/review/<?php
echo $_obj['id'];
?>
/" target="_blank"><?php
echo $_obj['title'];
?>
</a><div class="rr"><a href="/review/<?php
echo $_obj['id'];
?>
/" target="_blank"><img src="/static/img/arrow2.gif"/></a></div></h3>
			</li>
			<li class="ilst" style="clear:both;"><a href="/people/<?php
echo $_obj['uid'];
?>
/" target="_blank"><img class="pil" src="<?php
echo $_obj['profile_image_url'];
?>
"/></a></li>
			<li class="clst">
				<span class="pl ll obss"><span class="starb">
				<a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp;</span>评论 <a href="/movie/<?php
echo $_obj['mid'];
?>
/"><?php
echo $_obj['mtitle'];
?>
</a><span class="stars<?php
echo $_obj['stars'];
?>
"></span></span><br/><br/>
				<div><?php
echo $_obj['contents'];
?>
...... 
				<a class="pl" href="/review/<?php
echo $_obj['id'];
?>
/">(<?php
echo $_obj['reply'];
?>
回应)</a><br/>
				<div class="pl clearfix"><span class="fleft"><?php
echo $_obj['addtime'];
?>
 &nbsp; &nbsp;</span></div></div>
			</li>
		</ul>
		</div>
		<div class="clear"></div>
		<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
		<p class="pl" align="right"> 
		<a href="javascript:;" onclick="rPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="rPrevNext(2);" class="next1">下一页</a></p>
	</div>
		</div>
		<div id="rBox_2" class="content hide rBox">
		<?php
if (!empty($_obj['new_review'])){
if (!is_array($_obj['new_review']))
$_obj['new_review']=array(array('new_review'=>$_obj['new_review']));
$_tmp_arr_keys=array_keys($_obj['new_review']);
if ($_tmp_arr_keys[0]!='0')
$_obj['new_review']=array(0=>$_obj['new_review']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['new_review'] as $rowcnt=>$new_review) {
$new_review['ROWCNT']=$rowcnt;
$new_review['ALTROW']=$rowcnt%2;
$new_review['ROWBIT']=$rowcnt%2;
$_obj=&$new_review;
?>
		<div class='ctsh'>
		<ul class="tlst clearfix" style="clear:both">
			<li class="nlst"><h3><a href="/review/<?php
echo $_obj['id'];
?>
/" target="_blank"><?php
echo $_obj['title'];
?>
</a><div class="rr"><a href="/review/<?php
echo $_obj['id'];
?>
/" target="_blank"><img src="/static/img/arrow2.gif"/></a></div></h3>
			</li>
			<li class="ilst" style="clear:both;"><a href="/people/<?php
echo $_obj['uid'];
?>
/" target="_blank"><img class="pil" src="<?php
echo $_obj['profile_image_url'];
?>
"/></a></li>
			<li class="clst">
				<span class="pl ll obss"><span class="starb">
				<a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp;</span>评论 <a href="/movie/<?php
echo $_obj['mid'];
?>
/"><?php
echo $_obj['mtitle'];
?>
</a><span class="stars<?php
echo $_obj['stars'];
?>
"></span></span><br/><br/>
				<div><?php
echo $_obj['contents'];
?>
...... 
				<a class="pl" href="/review/<?php
echo $_obj['id'];
?>
/">(<?php
echo $_obj['reply'];
?>
回应)</a><br/>
				<div class="pl clearfix"><span class="fleft"><?php
echo $_obj['addtime'];
?>
 &nbsp; &nbsp;</span></div></div>
			</li>
		</ul>
		</div>
		<div class="clear"></div>
		<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
		<p class="pl" align="right"> 
		<a href="javascript:;" onclick="rPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="rPrevNext(2);" class="next1">下一页</a></p>

		</div>
</div>

</div>

<!--Sidebar-->

<div class="aside">
<h2 >热度指数走势图...(最近2周)</h2>
<div class="indent" id="collector">
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0"
	width="321" height="200" id="chart" align="middle">
	<param name="allowScriptAccess" value="sameDomain"/>
	<param name="movie" value="/static/swf/open-flash-chart.swf"/>
	<param name="FlashVars" value="data-file=/movie/hotmovie/hotchart/<?php
echo $_obj['ftimes'];
?>
/"/>
	<param name="quality" value="high"/>
	<param name="bgcolor" value="#FFFFFF"/>
	<embed src="/static/swf/open-flash-chart.swf" FlashVars="data-file=/movie/hotmovie/hotchart/<?php
echo $_obj['ftimes'];
?>
/"
	quality="high" bgcolor="#FFFFFF" width=321 height=200
	name="chart" align="middle" allowScriptAccess="sameDomain"
	type="application/x-shockwave-flash"
	pluginspage="http://www.macromedia.com/go/getflashplayer"/>
	</object>
</div>

<?php
if (!empty($_obj['islogin'])){
?>
<h2>你关注的人的动态：</h2>
		<?php
if (!empty($_obj['friendCollect'])){
if (!is_array($_obj['friendCollect']))
$_obj['friendCollect']=array(array('friendCollect'=>$_obj['friendCollect']));
$_tmp_arr_keys=array_keys($_obj['friendCollect']);
if ($_tmp_arr_keys[0]!='0')
$_obj['friendCollect']=array(0=>$_obj['friendCollect']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['friendCollect'] as $rowcnt=>$friendCollect) {
$friendCollect['ROWCNT']=$rowcnt;
$friendCollect['ALTROW']=$rowcnt%2;
$friendCollect['ROWBIT']=$rowcnt%2;
$_obj=&$friendCollect;
?>
		<div style="margin-bottom:5px;border-bottom:1px #ddd dashed;padding-bottom:5px">
			<div style="float:left;width:45px;"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><img src="<?php
echo $_obj['profile_image_url'];
?>
" height="40" width="40"/></a></div>
			<div style="float:right;;width:260px"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp; <span>看了</span>&nbsp; <?php
echo $_obj['movie'];
?>
</div>	
			<div class="clear"></div>
		</div>		
		<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
		<span class="rr">展开...</span>
		<div class="clear"></div><br>
		
		<?php
if (!empty($_obj['friendWish'])){
if (!is_array($_obj['friendWish']))
$_obj['friendWish']=array(array('friendWish'=>$_obj['friendWish']));
$_tmp_arr_keys=array_keys($_obj['friendWish']);
if ($_tmp_arr_keys[0]!='0')
$_obj['friendWish']=array(0=>$_obj['friendWish']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['friendWish'] as $rowcnt=>$friendWish) {
$friendWish['ROWCNT']=$rowcnt;
$friendWish['ALTROW']=$rowcnt%2;
$friendWish['ROWBIT']=$rowcnt%2;
$_obj=&$friendWish;
?>
		<div style="margin-bottom:5px;border-bottom:1px #ddd dashed;padding-bottom:5px">
			<div style="float:left;width:45px;"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><img src="<?php
echo $_obj['profile_image_url'];
?>
" height="40" width="40"/></a></div>
			<div style="float:right;;width:260px"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp; <span>想看</span>&nbsp; <?php
echo $_obj['movie'];
?>
</div>	
			<div class="clear"></div>
		</div>		
		<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
		<span class="rr">展开...</span>
		<div class="clear"></div><br>
<?php
} else {
?>
您还未登录，无法显示你关注的人的动态
<?php
}
?>

<div class="side_ads"><?php
echo getAds('9');
?>
</div>

</div>




</div>
</div>

<DIV class=clear></DIV>
<DIV id="footer">
	<DIV class="left">
		&copy; 2010 Movie.com, All Rights Reserved.&nbsp;&nbsp;&nbsp;苏ICP没有备案号&nbsp;&nbsp;<BR>
		<SPAN><?php
echo $_obj['debuginfo'];
?>
</SPAN>
	</DIV>
	<DIV class="right">
		<A href="/about/aboutus">关于我们</A>
		<A href="/about/flinks">友情链接</A>
		<A href="/about/contact">联系及合作</A>
		<A href="/about/feedback">投诉与建议</A>
		<A href="/about/sitemap">站点地图</A>
		<A href="/about/sitemap">使用帮助</A>		 
	</DIV>
</DIV>
</body>
</html>